﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace dotUML.Core.Common.SequenceDiagram
{
    /// <summary>
    /// IDiagramElement is an interface for a UML lifeline element.
    /// </summary>
    public interface ILifeline : IDiagramElement
    {
        /// <summary>
        /// Type of lifeline.
        /// </summary>
        ELifelineType LifelineType
        {
            get;
            set;
        }

        /// <summary>
        /// Lifeline's stereotypes.
        /// </summary>
        List<IStereotype> Stereotypes
        {
            get;
            set;
        }

        /// <summary>
        /// Lifeline's datatype.
        /// </summary>
        string DataType
        {
            get;
            set;
        }
    }
}
